<?php

namespace Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;

class VideoFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array
     */
    public function definition()
    {
        return [
            'title'=>$this->faker->sentence(),
            'content'=>$this->faker->sentence(),
            'url'=>'/assets/images/test2.mp4',
            'q'=>random_int(0,1),
            'begin_time'=>$this->faker->dateTime(),
            'end_time'=>$this->faker->dateTime(),
            'thumb'=>'/assets/test_images/r1.jpg',
            'expert'=>$this->faker->name(),
        ];
    }
}
